#include<iostream>
using namespace std;
class sample{
	int v;
	sample(int n):v(n){}
	sample Add(sample o){
		o.v = 2*o.v;
		return 0;
	}
};
int main()
{
	sample a(5);
	sample b = a;
	cout<<b.v;
	return 0;
}